<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data }" var="data" />
<!DOCTYPE HTML>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="${rootPath}/common/resource/H-ui.admin/static/h-ui.admin/css/H-ui.login.css" />
		<%@ include file="/common/include/title.jsp"%>
		<title>后台登录 - 西餐厅管理系统</title>
		<meta name="keywords" content="西餐厅管理系统 keywords">
		<meta name="description" content="西餐厅管理系统 description">
	</head>
	<body>
		<div class="adcenter">
		</div>
		<div id="wrapper">
			<div id="page-wrapper">
				<div class="header">
					<h1 class="page-header">登陆</h1>
				</div>
	
				<div id="page-inner">
					<div class="row">
						<div class="col-lg-12">
							<div class="card">
								<div class="card-action">登陆</div>
								<div class="card-content">
									<form class="col s12" action="${rootPath }/loginSubmit.htm" method="post">
										<div class="row">
											<div class="input-field col s12">
												<input value="" id="email" name="email"
													type="text" class="validate"> <label for="email">邮箱</label>
											</div>
										</div>
										<div class="row">
											<div class="input-field col s12">
												<input id="password" type="password" name="password" class="validate">
												<label for="password">密码</label>
											</div>
										</div>
										<div class="row">
											<div class="input-field col s12">
												<input id="code" type="text" class="validate" name="code" size="4" maxlength="4" style="width: 100px;">
												<a href="#" tabindex="-1" onclick="return refreshCode('imgCode');">
													<img id="imgCode" src="${rootPath }/common/randImg.htm" title="点击刷新验证码" width="100" height="35" />
												</a>
												<label for="password">验证码</label>
											</div>
										</div>
										<div class="row">
											<div class="input-field col s12">
												<input type="submit" value="登陆">
											</div>
										</div>
										<div class="row">
											<div class="input-field col s12">
												<p class="error_info">${response.info}</p>
											</div>
										</div>
									</form>
									<div class="clearBoth"></div>
								</div>
							</div>
						</div>
					</div>
		<%@ include file="/common/include/footer.jsp" %>
	</body>
</html>